package com.css.fxfzfxqh.modules.buildingResetUnitPrice.repository;

import com.css.fxfzfxqh.modules.buildingResetUnitPrice.entity.BuildingResetUnitPriceEntity;
import com.css.fxfzfxqh.modules.buildingResetUnitPrice.vo.ParamsVo;

import java.util.Map;

public interface BuildingResetUnitPriceRepository {
    boolean save(BuildingResetUnitPriceEntity buildingResetUnitPriceEntity);

    Map<String, Object> page(ParamsVo paramsVo, int curPage, int pageSize, String allRole, String provinceId);

    boolean update(BuildingResetUnitPriceEntity buildingResetUnitPriceEntity);

    boolean delete(String id);

    BuildingResetUnitPriceEntity findById(String id);

    BuildingResetUnitPriceEntity findByPronvince(String province,String city,String county);
    BuildingResetUnitPriceEntity findByPronvinceName(String province,String city,String county);

    BuildingResetUnitPriceEntity findByDistrict(String ppName, String cityName, String name);
}
